Advanced Topics in Exception Handling Techniques

نویسنده

  • Brian Randell
چکیده

The subject of exception handling, though it has its roots in programming language design, can and I suggest should be viewed in more general terms. It is of course at base just another “divide and conquer” approach to coping with complexity – originally just the complexity of conventional (sequential) programs. Well-designed language constructs allied to sanitary programming languages enable programmers to simplify their task by identifying and dealing separately with various predictable but uncommon situations – typically error situations. Each such situation, described perhaps by a set of logical preconditions, can have its own separately coded exception handler associated with it, designed to deal just with these particular pre-conditions, and if possible to achieve the desired post-conditions. The fact that this might not always be possible leads naturally to the idea of having various different sets of post-conditions, one for the normal (assumed to be error-free) situation, the others for various separate pre-defined error states. These other post-conditions can then, if appropriate, lead to exception handling at a higher level.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Exception Handling in CSCW Applications in Pervasive Computing Environments

In this paper we present conceptual foundations of an exception handling model for context-aware CSCW applications. Human participation in the recovery actions is an integral part of this model. Role abstraction is provided with an exception interface through which the role members can perform exception handling actions. Exception handling involving multiple role members is also supported throu...

متن کامل

Exception Handling in the Choices Operating System

Exception handling is a powerful abstraction that can be used to help manage errors and support the construction of reliable operating systems. Using exceptions to notify system components about exceptional conditions also reduces coupling of error handling code and increases the modularity of the system. We explore the benefits of incorporating exception handling into the Choices operating sys...

متن کامل

Practical Exception Specifications

Exception specifications can aid in the tasks of writing correct exception handlers and understanding exceptional control flow, but current exception specification systems are impractical in a number of ways. In particular, they are too low-level, too heavyweight, and do not provide adequate support for describing exception policies. We propose a novel and lightweight exception specification sy...

متن کامل

Exception Handling and Asynchronous Active Objects: Issues and Proposal

Asynchronous Active Objects (AAOs), primarily exempli ed by actors [1], nowadays exist in many forms (various kinds of actors, agents and components) and are more and more used because they t well the dynamic and asynchronous nature of interactions in many distributed systems. They raise various new issues regarding exception handling for which few operational solutions exist. More precisely, a...

متن کامل

Failure Handling in a Network-Transparent Distributed Programming Language

This paper shows that asynchronous fault detection is a practical way to reflect partial failure in a network-transparent distributed programming language. In the network-transparency approach, a program can be distributed over many sites without changing its source code. The semantics of the program’s execution does not depend on how the program is distributed. We have experimented with variou...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2006